package com.fymxy.question_bank_management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fymxy.question_bank_management.pojo.Paper;

import java.util.List;

public interface PaperService {
    IPage<Paper> selectAllPaper(Page page);

    int addPaper(Paper record);

    int getTopPaperNo();

    Paper selectByPaperNo(Integer paperNo);

    int autoGeneratePaper(String level, List<String> keywords, Integer paperNo, String name, Integer paperSetterNo);
}